package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.FriendshipPraise;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FriendshipPraiseMapper {
    int deleteByPrimaryKey(Long id);

    int insert(FriendshipPraise entity);

    FriendshipPraise selectByPrimaryKey(Long id);

    List<FriendshipPraise> selectAll();

    int updateByPrimaryKey(FriendshipPraise entity);

    void deleteByFidAndUserId(@Param("friendshipId") Long friendshipId, @Param("uId") Long uId);

    Object selectByFidAndUid(@Param("friendshipId") Long friendshipId, @Param("uId") Long uId);
}